package fr.xebia.service;

/**
 * 
 */
public class DatabaseServiceException extends ServiceException {

	private static final long serialVersionUID = 1L;
	private static final String DEFAULT_MESSAGE = "Database Error: ";

	/**
	 * @param message
	 * @param cause
	 */
	public DatabaseServiceException(String message, Throwable cause) {
		super(DEFAULT_MESSAGE + message, cause);
	}

	/**
	 * @param message
	 */
	public DatabaseServiceException(String message) {
		super(DEFAULT_MESSAGE + message);
	}

	/**
	 * @param cause
	 */
	public DatabaseServiceException(Throwable cause) {
		super(DEFAULT_MESSAGE, cause);
	}
}
